<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>Catharsis.NET.Commons: Catharsis.Commons.UriExtensions Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Catharsis.NET.Commons
   &#160;<span id="projectnumber">2.8</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_catharsis_1_1_commons_1_1_uri_extensions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_catharsis_1_1_commons_1_1_uri_extensions-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Catharsis.Commons.UriExtensions Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p> 
 <a href="class_catharsis_1_1_commons_1_1_uri_extensions.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a084f7c43e73e16cad82d38a7020dd614"><td class="memItemLeft" align="right" valign="top">static byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a084f7c43e73e16cad82d38a7020dd614">Bytes</a> (this Uri self)</td></tr>
<tr class="separator:a084f7c43e73e16cad82d38a7020dd614"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92c0f423e11242b5c66d1d855a181d8b"><td class="memItemLeft" align="right" valign="top">static byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a92c0f423e11242b5c66d1d855a181d8b">Bytes</a> (this Uri self, IDictionary&lt; string, object &gt; headers=null)</td></tr>
<tr class="separator:a92c0f423e11242b5c66d1d855a181d8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a254702a963d64a35f994fd00ed13a7d6"><td class="memItemLeft" align="right" valign="top">static byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a254702a963d64a35f994fd00ed13a7d6">Bytes</a> (this Uri self, IDictionary&lt; string, string &gt; headers=null)</td></tr>
<tr class="separator:a254702a963d64a35f994fd00ed13a7d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae4260f42ea918efe3cdec9029b7862"><td class="memItemLeft" align="right" valign="top">static byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#afae4260f42ea918efe3cdec9029b7862">Bytes</a> (this Uri self, object headers=null)</td></tr>
<tr class="separator:afae4260f42ea918efe3cdec9029b7862"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a505c51862ba1cf550990790d2b71974b"><td class="memItemLeft" align="right" valign="top">static IPHostEntry&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a505c51862ba1cf550990790d2b71974b">Host</a> (this Uri self)</td></tr>
<tr class="separator:a505c51862ba1cf550990790d2b71974b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadef6351bf5f6f9aa17199e2e95bbf7c"><td class="memItemLeft" align="right" valign="top">static Uri&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#aadef6351bf5f6f9aa17199e2e95bbf7c">Query</a> (this Uri self, IDictionary&lt; string, object &gt; parameters)</td></tr>
<tr class="separator:aadef6351bf5f6f9aa17199e2e95bbf7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4da577449557df43d51737c42e4ee2c6"><td class="memItemLeft" align="right" valign="top">static Uri&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a4da577449557df43d51737c42e4ee2c6">Query</a> (this Uri self, IDictionary&lt; string, string &gt; parameters)</td></tr>
<tr class="separator:a4da577449557df43d51737c42e4ee2c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9254ff76367e79fa95a6fe1b668a9503"><td class="memItemLeft" align="right" valign="top">static Uri&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a9254ff76367e79fa95a6fe1b668a9503">Query</a> (this Uri self, object parameters)</td></tr>
<tr class="separator:a9254ff76367e79fa95a6fe1b668a9503"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ee86cdc1d7f7602cb8f93a921cf75a6"><td class="memItemLeft" align="right" valign="top">static Stream&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a6ee86cdc1d7f7602cb8f93a921cf75a6">Stream</a> (this Uri self)</td></tr>
<tr class="separator:a6ee86cdc1d7f7602cb8f93a921cf75a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f36e4d29ad01a5c19ddaf58d559d685"><td class="memItemLeft" align="right" valign="top">static Stream&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a5f36e4d29ad01a5c19ddaf58d559d685">Stream</a> (this Uri self, IDictionary&lt; string, object &gt; headers=null)</td></tr>
<tr class="separator:a5f36e4d29ad01a5c19ddaf58d559d685"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac19b24a3b3bf9cd846282062e638972b"><td class="memItemLeft" align="right" valign="top">static Stream&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#ac19b24a3b3bf9cd846282062e638972b">Stream</a> (this Uri self, IDictionary&lt; string, string &gt; headers=null)</td></tr>
<tr class="separator:ac19b24a3b3bf9cd846282062e638972b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0817e3098e463c24ee610b3545796c5"><td class="memItemLeft" align="right" valign="top">static Stream&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#af0817e3098e463c24ee610b3545796c5">Stream</a> (this Uri self, object headers=null)</td></tr>
<tr class="separator:af0817e3098e463c24ee610b3545796c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3154bc8a026c25aa4adacbc8afa7390"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#ad3154bc8a026c25aa4adacbc8afa7390">Text</a> (this Uri self)</td></tr>
<tr class="separator:ad3154bc8a026c25aa4adacbc8afa7390"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70e2fad67b3d87b11718e72d97e58848"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a70e2fad67b3d87b11718e72d97e58848">Text</a> (this Uri self, IDictionary&lt; string, object &gt; headers=null)</td></tr>
<tr class="separator:a70e2fad67b3d87b11718e72d97e58848"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacbd146f887ceaf5a2bd8b5e06c13f78"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#aacbd146f887ceaf5a2bd8b5e06c13f78">Text</a> (this Uri self, IDictionary&lt; string, string &gt; headers=null)</td></tr>
<tr class="separator:aacbd146f887ceaf5a2bd8b5e06c13f78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a7eae4da03288d3aaff3b9569bb08ab"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html#a1a7eae4da03288d3aaff3b9569bb08ab">Text</a> (this Uri self, object headers=null)</td></tr>
<tr class="separator:a1a7eae4da03288d3aaff3b9569bb08ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Set of extension methods for class Uri.</p>
<dl class="section see"><dt>See also</dt><dd>Uri</dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a084f7c43e73e16cad82d38a7020dd614"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static byte [] Catharsis.Commons.UriExtensions.Bytes </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Downloads the resource with the specified Uri address and returns the result in a binary form.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Response of web server in a binary format.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<p>This method uses the RETR command to download an FTP resource. For an HTTP resource, the GET method is used.</p>
<dl class="section see"><dt>See also</dt><dd>Bytes(Uri, IDictionary{string, object}), Bytes(Uri, IDictionary{string, string}), Bytes(Uri, object)</dd></dl>

</div>
</div>
<a class="anchor" id="a92c0f423e11242b5c66d1d855a181d8b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static byte [] Catharsis.Commons.UriExtensions.Bytes </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, object &gt;&#160;</td>
          <td class="paramname"><em>headers</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Downloads the resource with the specified Uri address and returns the result in a binary form.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download data.</td></tr>
    <tr><td class="paramname">headers</td><td>Optional set of additional headers to send alongside with request (names/values).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Response of web server in a binary format.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<p>This method uses the RETR command to download an FTP resource. For an HTTP resource, the GET method is used.</p>
<dl class="section see"><dt>See also</dt><dd>Bytes(Uri), Bytes(Uri, IDictionary{string, string}), Bytes(Uri, object)</dd></dl>

</div>
</div>
<a class="anchor" id="a254702a963d64a35f994fd00ed13a7d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static byte [] Catharsis.Commons.UriExtensions.Bytes </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, string &gt;&#160;</td>
          <td class="paramname"><em>headers</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Downloads the resource with the specified Uri address and returns the result in a binary form.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download data.</td></tr>
    <tr><td class="paramname">headers</td><td>Optional set of additional headers to send alongside with request (names/values).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Response of web server in a binary format.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<p>This method uses the RETR command to download an FTP resource. For an HTTP resource, the GET method is used.</p>
<dl class="section see"><dt>See also</dt><dd>Bytes(Uri), Bytes(Uri, IDictionary{string, object}), Bytes(Uri, object)</dd></dl>

</div>
</div>
<a class="anchor" id="afae4260f42ea918efe3cdec9029b7862"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static byte [] Catharsis.Commons.UriExtensions.Bytes </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>headers</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Downloads the resource with the specified Uri address and returns the result in a binary form.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download data.</td></tr>
    <tr><td class="paramname">headers</td><td>Optional set of additional headers to send alongside with request (names and values of object's public properties).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Response of web server in a binary format.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<p>This method uses the RETR command to download an FTP resource. For an HTTP resource, the GET method is used.</p>
<dl class="section see"><dt>See also</dt><dd>Bytes(Uri), Bytes(Uri, IDictionary{string, string}), Bytes(Uri, IDictionary{string, object})</dd></dl>

</div>
</div>
<a class="anchor" id="a505c51862ba1cf550990790d2b71974b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static IPHostEntry Catharsis.Commons.UriExtensions.Host </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Resolves a host name or IP address part of target URL to IPHostEntry instance.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>URL address to use.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>IPHostEntry instance, containing information about host of source Uri address.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aadef6351bf5f6f9aa17199e2e95bbf7c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Uri Catharsis.Commons.UriExtensions.Query </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, object &gt;&#160;</td>
          <td class="paramname"><em>parameters</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Modifies target URL address by adding by adding given list of name/value pairs to its Query component.</p>
<p>Names and values of query string parameters are URL-encoded.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>URI address to be modified.</td></tr>
    <tr><td class="paramname">parameters</td><td>Map of name/value parameters for query string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Updated URI address.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If either <em>self</em>  or <em>parameters</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Query(Uri, IDictionary{string, string}), Query(Uri, object)</dd></dl>

</div>
</div>
<a class="anchor" id="a4da577449557df43d51737c42e4ee2c6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Uri Catharsis.Commons.UriExtensions.Query </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, string &gt;&#160;</td>
          <td class="paramname"><em>parameters</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Modifies target URL address by adding by adding given list of name/value pairs to its Query component.</p>
<p>Names and values of query string parameters are URL-encoded.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>URI address to be modified.</td></tr>
    <tr><td class="paramname">parameters</td><td>Map of name/value parameters for query string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Updated URI address.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If either <em>self</em>  or <em>parameters</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Query(Uri, object), Query(Uri, IDictionary{string, object})</dd></dl>

</div>
</div>
<a class="anchor" id="a9254ff76367e79fa95a6fe1b668a9503"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Uri Catharsis.Commons.UriExtensions.Query </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>parameters</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Modifies target URL address by adding by adding given list of name/value pairs to its Query component.</p>
<p>Names and values of query string parameters are URL-encoded.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>URI address to be modified.</td></tr>
    <tr><td class="paramname">parameters</td><td>Map of name/value parameters for query string (public properties of object).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Updated URI address.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If either <em>self</em>  or <em>parameters</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Query(Uri, IDictionary{string, string}), Query(Uri, IDictionary{string, object})</dd></dl>

</div>
</div>
<a class="anchor" id="a6ee86cdc1d7f7602cb8f93a921cf75a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Stream Catharsis.Commons.UriExtensions.Stream </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Opens a readable stream for the data downloaded from a resource with the specified Uri.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download the data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>System.IO.Stream to read web server's response data from HTTP connection.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<p>This method uses the RETR command to download an FTP resource. For an HTTP resource, the GET method is used.</p>
<dl class="section see"><dt>See also</dt><dd>Stream(Uri, IDictionary{string, object}), Stream(Uri, IDictionary{string, string}), Stream(Uri, object)</dd></dl>

</div>
</div>
<a class="anchor" id="a5f36e4d29ad01a5c19ddaf58d559d685"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Stream Catharsis.Commons.UriExtensions.Stream </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, object &gt;&#160;</td>
          <td class="paramname"><em>headers</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Opens a readable stream for the data downloaded from a resource with the specified Uri.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download the data.</td></tr>
    <tr><td class="paramname">headers</td><td>Optional set of additional headers to send alongside with request (names/values).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>System.IO.Stream to read web server's response data from HTTP connection.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<p>This method uses the RETR command to download an FTP resource. For an HTTP resource, the GET method is used.</p>
<dl class="section see"><dt>See also</dt><dd>Stream(Uri), Stream(Uri, IDictionary{string, string}), Stream(Uri, object)</dd></dl>

</div>
</div>
<a class="anchor" id="ac19b24a3b3bf9cd846282062e638972b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Stream Catharsis.Commons.UriExtensions.Stream </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, string &gt;&#160;</td>
          <td class="paramname"><em>headers</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Opens a readable stream for the data downloaded from a resource with the specified Uri.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download the data.</td></tr>
    <tr><td class="paramname">headers</td><td>Optional set of additional headers to send alongside with request (names/values).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>System.IO.Stream to read web server's response data from HTTP connection.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<p>This method uses the RETR command to download an FTP resource. For an HTTP resource, the GET method is used.</p>
<dl class="section see"><dt>See also</dt><dd>Stream(Uri), Stream(Uri, IDictionary{string, object}), Stream(Uri, object)</dd></dl>

</div>
</div>
<a class="anchor" id="af0817e3098e463c24ee610b3545796c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Stream Catharsis.Commons.UriExtensions.Stream </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>headers</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Opens a readable stream for the data downloaded from a resource with the specified Uri.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download the data.</td></tr>
    <tr><td class="paramname">headers</td><td>Optional set of additional headers to send alongside with request (names/values).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>System.IO.Stream to read web server's response data from HTTP connection.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<p>This method uses the RETR command to download an FTP resource. For an HTTP resource, the GET method is used.</p>
<dl class="section see"><dt>See also</dt><dd>Stream(Uri), Stream(Uri, IDictionary{string, string}), Stream(Uri, IDictionary{string, object})</dd></dl>

</div>
</div>
<a class="anchor" id="ad3154bc8a026c25aa4adacbc8afa7390"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.UriExtensions.Text </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Downloads the requested resource as a string.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download the data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Web server's response in a text format.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Text(Uri, IDictionary{string, object}), Text(Uri, IDictionary{string, string}), Text(Uri, object)</dd></dl>

</div>
</div>
<a class="anchor" id="a70e2fad67b3d87b11718e72d97e58848"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.UriExtensions.Text </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, object &gt;&#160;</td>
          <td class="paramname"><em>headers</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Downloads the requested resource as a string.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download the data.</td></tr>
    <tr><td class="paramname">headers</td><td>Optional set of additional headers to send alongside with request (names/values).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Web server's response in a text format.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Text(Uri), Text(Uri, IDictionary{string, string}), Text(Uri, object)</dd></dl>

</div>
</div>
<a class="anchor" id="aacbd146f887ceaf5a2bd8b5e06c13f78"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.UriExtensions.Text </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDictionary&lt; string, string &gt;&#160;</td>
          <td class="paramname"><em>headers</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Downloads the requested resource as a string.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download the data.</td></tr>
    <tr><td class="paramname">headers</td><td>Optional set of additional headers to send alongside with request (names/values).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Web server's response in a text format.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Text(Uri), Text(Uri, object), Text(Uri, IDictionary{string, object}</dd></dl>

</div>
</div>
<a class="anchor" id="a1a7eae4da03288d3aaff3b9569bb08ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static string Catharsis.Commons.UriExtensions.Text </td>
          <td>(</td>
          <td class="paramtype">this Uri&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>headers</em> = <code>null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Downloads the requested resource as a string.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>The URI from which to download the data.</td></tr>
    <tr><td class="paramname">headers</td><td>Optional set of additional headers to send alongside with request (names/values).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Web server's response in a text format.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">ArgumentNullException</td><td>If <em>self</em>  is a <code>null</code> reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Text(Uri), Text(Uri, object), Text(Uri, IDictionary{string, object})</dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_catharsis.html">Catharsis</a></li><li class="navelem"><a class="el" href="namespace_catharsis_1_1_commons.html">Commons</a></li><li class="navelem"><a class="el" href="class_catharsis_1_1_commons_1_1_uri_extensions.html">UriExtensions</a></li>
    <li class="footer">Generated on Wed Aug 6 2014 00:10:39 for Catharsis.NET.Commons by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
  </ul>
</div>
</body>
</html>
